﻿{template common/header}
<div id="page">
	<div class="wrapper">
	<!--{if $do == 'verifyuser'}-->
		<section class="column width6 first">
			<table class="stylized full">
				<caption><span class="label label-blue">审核注册用户</span></caption>
				<thead>
					<tr>
						<th><a href="javascript:;" id="checkall" style="color:white;">All</a></th>
						<th>姓名</th>
						<th>性别</th>
						<th>年龄</th>
						<th>职业</th>
						<th>手机号码</th>
						<th>身份证号码</th>
						<th>注册时间</th>
						<th>注册ip</th>
						<th>管理</th>
					</tr>
				</thead>
				<tbody>
					<!--{loop $v[data] $k $v}-->
						<tr id="tr{$v[uid]}">
							<td><input type="checkbox" name="selectedid" value="$v[uid]"></td>
							<td>$v[username]</td>
							<td>$v[gender]</td>
							<td>$v[age]</td>
							<td>$v[job]</td>
							<td>$v[mobile]</td>
							<td>$v[idcard]</td>
							<td>{eval echo dgmdate($v[regdate], 'u')}</td>
							<td>$v[regip]</td>
							<td><a href="javascript:;" class="btn cok" id="co{$v[uid]}">通过</a><a href="javascript:;" class="btn cdel" id="cd{$v[uid]}">删除</a></td>
						</tr>
					<!--{/loop}-->
				</tbody>
				<tfoot>
					<tr>
						<td colspan="10">
							<a href="javascript:;" class="btn caok"><span class="icon icon-ok">&nbsp;</span>全部通过</a>
							<a href="javascript:;" class="btn cadel"><span class="icon icon-cancel">&nbsp;</span>全部删除</a>
							{$page}
						</td>
					</tr>
				</tfoot>
			</table>
		</section>
		<aside class="column width2">
			{templatesub sub/help}
		</aside>
	<!--{elseif $do == 'newtask' || $do == 'edittask'}-->
		<section class="column width6 first">
			{templatesub sub/edit}
		</section>
		<aside class="column width2">
			{templatesub sub/help}
		</aside>
	<!--{elseif $do == 'verifytask'}-->
		<section class="column width6 first">
			<table class="stylized full">
				<caption><span class="label label-blue">审核主题帖任务</span></caption>
				<thead>
					<tr>
						<th><a href="javascript:;" id="checkall" style="color:white;">All</a></th>
						<th>姓名</th>
						<th>任务编号</th>
						<th>任务名称</th>
						<th>提交地址</th>
						<th>提交时间</th>
						<th>管理</th>
					</tr>
				</thead>
				<tbody>
					<!--{loop $v[data] $k $v}-->
						<tr id="tr{$v[lid]}">
							<td><input type="checkbox" name="selectedid" value="$v[lid]"></td>
							<td>$v[username]</td>
							<td>$v[taskid]</td>
							<td>{eval echo cutstr($v[name], 12)}</td>
							<td><a href="{$v[detail]}" target="_blank">$v[detail]</a></td>
							<td>{eval echo dgmdate($v[dateline], 'u')}</td>
							<td><a href="javascript:;" class="btn lok" id="co{$v[lid]}">通过</a><a href="javascript:;" class="btn ldel" id="cd{$v[lid]}">未通过</a></td>
						</tr>
					<!--{/loop}-->
				</tbody>
				<tfoot>
					<tr>
						<td colspan="10">
							<a href="javascript:;" class="btn laok"><span class="icon icon-ok">&nbsp;</span>全部通过</a>
							<a href="javascript:;" class="btn ladel"><span class="icon icon-cancel">&nbsp;</span>全部删除</a>
							{$page}
						</td>
					</tr>
				</tfoot>
			</table>
		</section>
		<aside class="column width2">
			{templatesub sub/help}
		</aside>
	<!--{elseif $do == 'verifyposttask'}-->
		<section class="column width6 first">
			<table class="stylized full">
				<caption><span class="label label-blue">审核回复帖任务</span></caption>
				<thead>
					<tr>
						<th>任务编号</th>
						<th>任务名称</th>
						<th>领取人数</th>
						<th>完成贴数</th>
						<th>管理</th>
					</tr>
				</thead>
				<tbody>
					<!--{loop $v[data] $k $v}-->
						<tr id="tr{$v[taskid]}">
							<td>$v[taskid]</td>
							<td>$v[name]</td>
							<td>$v[already]</td>
							<td>$v[posts]</td>
							<td><a href="?mod=admin&do=viewtaskuser&taskid={$v[taskid]}"" class="btn nyroModal" id="coaa{$v[taskid]}">查看详情</a></td>
						</tr>
					<!--{/loop}-->
				</tbody>
				<tfoot>
					<tr>
						<td colspan="10">
							{$page}
						</td>
					</tr>
				</tfoot>
			</table>
		</section>
		<aside class="column width2">
			{templatesub sub/help}
		</aside>
	<!--{/if}-->
	</div>
{template common/footer}